package com.lu.widgets.component.ime;

import java.util.ArrayList;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.Button;

import com.lu.widgets.R;

public class NumberIMEWithoutMask extends IMEWithoutMask {

	public NumberIMEWithoutMask(Context context, AttributeSet attrs,
			int defStyle) {
		super(context, attrs, defStyle, R.layout.number_ime_without_mask);
	}

	public NumberIMEWithoutMask(Context context, AttributeSet attrs) {
		this(context, attrs, 0);
	}

	public NumberIMEWithoutMask(Context context) {
		this(context, null, 0);
	}

	protected void findAllView() {
		buttonChange = (Button) findViewById(R.id.buttonServeTableMainQWERTYNumIMEChange);
		buttonDelete = (Button) findViewById(R.id.buttonServeTableMainQWERTYNumIMEDelete);
		buttonChars = new ArrayList<Button>();
		buttonChars
				.add((Button) findViewById(R.id.buttonServeTableMainQWERTYNumIME0));
		buttonChars
				.add((Button) findViewById(R.id.buttonServeTableMainQWERTYNumIME1));
		buttonChars
				.add((Button) findViewById(R.id.buttonServeTableMainQWERTYNumIME2));
		buttonChars
				.add((Button) findViewById(R.id.buttonServeTableMainQWERTYNumIME3));
		buttonChars
				.add((Button) findViewById(R.id.buttonServeTableMainQWERTYNumIME4));
		buttonChars
				.add((Button) findViewById(R.id.buttonServeTableMainQWERTYNumIME5));
		buttonChars
				.add((Button) findViewById(R.id.buttonServeTableMainQWERTYNumIME6));
		buttonChars
				.add((Button) findViewById(R.id.buttonServeTableMainQWERTYNumIME7));
		buttonChars
				.add((Button) findViewById(R.id.buttonServeTableMainQWERTYNumIME8));
		buttonChars
				.add((Button) findViewById(R.id.buttonServeTableMainQWERTYNumIME9));
	}
}
